@props(['list'])
<div class="item">
  <span>{{__('messages.type')}}：</span>
  <em data-id="0" class="on">{{__('messages.all')}}</em>
  @foreach ($list as $d)
  <em data-id="{{$d->id}}">{{$d['title']}}</em>
  @endforeach
</div>
